package com.kuang.pojo.pojo.service;

import com.kuang.pojo.pojo.dao.UserDao;

public class UserServiceImpl  implements UserService{

    private UserDao userDao;
        //=new UserDaoMysqlImpl();

//动态实现值得注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();

    }
}
